/**
 * Created by Administrator on 2016/12/2.
 */
window.fm = {};
fm.alert = function (msg, style, time, end) { //layer  alert  弹出提示 2秒后自动关闭
    layer.closeAll();
    layer.open({
        content: msg,
        style: style || 'background-color:#27a7e4; text-align:center;color:#fff; border:none;font-size:32px;padding:20px',
        time: time || 2,
        end: end || function () {
        }
    });

};/**
 * Created by Administrator on 2017/3/13.
 */
